package com.linlong.linlongchat.service;

import com.linlong.linlongchat.domain.dto.UserDto;
import com.linlong.linlongchat.domain.po.Result;
import com.linlong.linlongchat.domain.po.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author 华少
 * @since 2024-09-19
 */
public interface IUserService extends IService<User> {


    Result<String> login(String username, String password);

    Result register(String nickName, String email, String code, String password);

    Result<String> sendEmail(String email);
}
